<?php
/**
 * Created by PhpStorm.
 * UsersF: Mloong
 * Date: 2018/12/3
 * Time: 11:37
 */

namespace app\api\validate;


class Mobile extends BaseValidate
{
    protected $rule = [
        'phone' => 'mobile',
    ];
    protected $message  =   [
        'phone.require' => '号码必须',
        'phone.mobile'     => '不是有效手机号码',
    ];
}